package judesart.app.client.controller;

import judesart.app.domain.Artist;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ProfileControllerAsync
{
    void getArtist(AsyncCallback<Artist> callback);

    void createArtist(Artist artist, AsyncCallback<Artist> callback);

    void updateArtist(Artist artist, AsyncCallback<Artist> callback);

    void deletePhotoFromArtist(Long artistId, Long imageId, AsyncCallback<Void> callback);

    void findArtistByUserId(Long userId, AsyncCallback<Artist> callback);
}
